package com.sc.nft.entity.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 配置熔炼方式请求
 *
 * @Author：LiGen
 * @Package：com.sc.nft.admin.request
 * @Project：sc_metago
 * @name：EuditEcologyHatchMethodCollectionConfReq
 * @Date：2024/6/11 15:06
 * @Filename：EuditEcologyHatchMethodCollectionConfReq
 */
@Data
public class EditEcologyHatchMethodCollectionConf {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("藏品id")
    @NotNull(message = "藏品id不能为空")
    private Long collectionId;

    @ApiModelProperty("藏品名称")
    @NotBlank(message = "藏品名称不能为空")
    private String collectionName;

    @ApiModelProperty("消耗数量")
    @NotNull(message = "消耗数量不能为空")
    private Integer expendCount;

    @ApiModelProperty("销毁数量")
    @NotNull(message = "销毁数量不能为空")
    private Integer destroyCount;

    @ApiModelProperty("是否是主藏品")
    private Boolean isMain;


}
